package com.datang.pet.service;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-06-27 13:03
 * @notify
 * @version 1.0
 */

import com.datang.pet.pojo.Chat;
import com.datang.pet.vo.GetUserChatListResponse;

import java.util.Date;
import java.util.List;

public interface ChatService {

    void addChat(Chat chat)throws Exception;

    List<GetUserChatListResponse> getUserChatList(String userId, Date time)throws Exception;

    List<Chat> getChatList(Chat chat)throws Exception;
}
